package cn.e4j.modular.api.service;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.api.mapper.Gwat171Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * Created by wenchuan.li on 2018/6/14.
 */

@Service
public class Gwat171Service{

    @Autowired
    Gwat171Mapper gwat171Mapper;

    /**
     * 获取商机主题列表
     * @param inDto
     * @return
     */
    public List<Dto> getGwbhData(Dto inDto) {
        return gwat171Mapper.getGwbhListPage(inDto);
    }

    public List<Dto> getGwbhInfo(Dto inDto) {
        return gwat171Mapper.getGwbhInfo(inDto);
    }
}
